package com.tvein.web.model
{
	//flash
	//pureMVC
	import org.puremvc.as3.multicore.interfaces.IProxy;
	import org.puremvc.as3.multicore.patterns.proxy.Proxy;
	//custom
	import com.tvein.web.common.CommonConstants;
//
	public class ServerProxy extends Proxy implements IProxy
	{
		public static const NAME:String = "ServerProxy";
		
		public function ServerProxy()
		{
			super(NAME);
		}
		
		//Custom		
		private var _serverXML:XML;
		
		private var _gameServer:String;
		
		public function set serverXML(value:XML) : void
		{
			_serverXML = value;
			_gameServer = value.gameServer.game.@address;
		}
		
		public function get serverXML() : XML
		{
			return _serverXML;
		}
		
		public function get gameServer() : String
		{
			return _gameServer;
		}
	}
}